Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | /* |
||
22 | getAll: function () { |
||
23 | if (API.promise) { |
||
24 | return API.api.notifications.getAll(details); |
||
25 | } |
||
26 | else { |
||
27 | return new C_Promise(function () { |
||
28 | API.api.notifications.getAll(details, (function (notifications) { |
||
29 | this.call_then(notifications); |
||
30 | }).bind(this)); |
||
31 | }); |
||
32 | } |
||
33 | }, |
||
34 | /** |
||
41 | }; |